package cate.game.server.configuration.dao.game;

import cate.game.db.mongo.GuildBossRankDao;
import cate.game.role.res.guild.boss.GuildBossRankSPO;
import cate.game.server.configuration.dao.MgStrKeyDao;

public class MgGuildBossRankDao extends MgStrKeyDao<GuildBossRankSPO> implements GuildBossRankDao {

    @Override
    protected Class<GuildBossRankSPO> getEntityClass() {
        return GuildBossRankSPO.class;
    }

    @Override
    protected <S extends GuildBossRankSPO> Object transId(S entity) {
        return entity._id;
    }

}
